import Vue from 'vue'
import App from './App.vue'
import BApp from './BApp.vue'
import GApp from './GApp.vue'
import PApp from './PApp.vue'


// 导入inconfont.css
import './assets/font/iconfont.css'

Vue.config.productionTip = false

// 导入组件
import Header from './components/Header.vue'
import Swiper from './components/Swiper.vue'
import Content from './components/Content.vue'
import Footer from './components/Footer.vue'
// // 爆爆团
import BHeader from './components/Baobaotuan/BHeader.vue'
import BSwiper from './components/Baobaotuan/BSwiper.vue'
import BList from './components/Baobaotuan/BList.vue'
import BContent from './components/Baobaotuan/BContent.vue'
import BFooter from './components/Baobaotuan/BFooter.vue'
//购物车
import GHeader from './components/Gouwuche/GHeader.vue'
import GSwiper from './components/Gouwuche/GSwiper.vue'
import GList from './components/Gouwuche/GList.vue'
import GContent from './components/Gouwuche/GContent.vue'
import GFooter from './components/Gouwuche/GFooter.vue'
// 个人
import PHeader from './components/Geren/PHeader.vue'
import PSwiper from './components/Geren/PSwiper.vue'
import PList from './components/Geren/PList.vue'
import PContent from './components/Geren/PContent.vue'
import PFooter from './components/Geren/PFooter.vue'

// 注册全局组件
Vue.component('Header',Header)
Vue.component('Swiper',Swiper)
Vue.component('Content',Content)
Vue.component('Footer',Footer)
// 爆爆团
Vue.component('Baobaotuan/BHeader',BHeader)
Vue.component('Baobaotuan/BSwiper',BSwiper)
Vue.component('Baobaotuan/BList',BList)
Vue.component('Baobaotuan/BContent',BContent)
Vue.component('Baobaotuan/BFooter',BFooter)
// 购物车
Vue.component('Gouwuche/GHeader',GHeader)
Vue.component('Gouwuche/GSwiper',GSwiper)
Vue.component('Gouwuche/GList',GList)
Vue.component('Gouwuche/GContent',GContent)
Vue.component('Gouwuche/GFooter',GFooter)
// 个人
Vue.component('Geren/PHeader',PHeader)
Vue.component('Geren/PSwiper',PSwiper)
Vue.component('Geren/PList',PList)
Vue.component('Geren/PContent',PContent)
Vue.component('Geren/PFooter',PFooter)

new Vue({
  render: h => h(App),
}).$mount('#app')
new Vue({
  render: h => h(BApp),
}).$mount('#app')
new Vue({
  render: h => h(GApp),
}).$mount('#app')
new Vue({
  render: h => h(PApp),
}).$mount('#app')
